# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         test04
# Description:
# Author:       98745
# Date:         2019/3/6
#-------------------------------------------------------------------------------

def add(a,b):
    print('参数a',id(a))
    a=a+1
    print('内部a', id(a))
add(1,2)

l1=[1,2,3]
print('外部',id(l1))
def add1(list):
    list[0]=list[0]+10
    list[1]=list[1]+20
    print(list)
    print('内部',id(list))
add1(l1)
print(l1)
